package com.feicheng.persistence.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 上课记录
 * </p>
 *
 * @author cailongyang
 * @since 2025-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Akechengskjl implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 上课记录ID
     */
    @TableId
    private String skjlid;

    /**
     * 客户ID
     */
    private String clientid;

    /**
     * 课程单节ID
     */
    private String kcitemid;

    /**
     * 扫脸进门的时间
     */
    @DateTimeFormat(pattern= "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime ct;

    /**
     * 报名记录ID
     */
    private String bmid;

    /**
     * UD:未到店；ST:已打卡；ED: 已结束；
     */
    private String stu;

    @DateTimeFormat(pattern= "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate dt;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern= "HH:mm")
    @JsonFormat(pattern="HH:mm", timezone = "GMT+8")
    private LocalTime st;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern= "HH:mm")
    @JsonFormat(pattern="HH:mm", timezone = "GMT+8")
    private LocalTime et;

    /**
     * 会员记录ID
     */
    private String hyjlid;


}
